package com.gms.service.equipmanager;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gms.entity.equipment.Equipmentrent;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jianghai
 * @since 2021-06-18
 */
@Service
public interface EquipmentrentService extends IService<Equipmentrent> {
    //添加器材表
    public void addEquipmentOrder(Equipmentrent equipmentrent);

    public void deleteEquipmentOrder(Integer eRentId);

    public void alterEquipmentOrder(Integer eRentId);

    public Equipmentrent selectOneEquipmentOrder(Integer eId);

    public Page<Equipmentrent> pageRent(Integer pageNum, String userName, Integer uId);

    public Page<Equipmentrent> pageAllOrder(Integer pageNum, String userName, Integer uId);

    public void delete_orders(String name);

}